<?php
class productAction extends frontAction{
	public function execute(){
		$userID = $this->getGetParam('userID',0);
		$dao = new DaoProduct();
		list($products,$page) = $dao->getListPage(" sortID<>0 and userID='$userID' order by sortID asc",20);
		
		$cache = new Cache_request();
		$cache->set("userID",$userID);
	
		$this->assign('products',$products);
		$this->assign('page',$page);
	}
}
?>
